/**
 * 
 */
package org.openwork.portlet.skills.action;

import org.openwork.portlet.action.BaseAction;
import org.openwork.util.OpenWorkUtil;

/**
 * @author samuelgmartinez
 *
 */
public class ViewAction extends BaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2807581023602364603L;

	@Override
	public String execute() throws Exception {
		String result = SUCCESS;
		
		if(OpenWorkUtil.isControlPanel(getServletRequest())) {
			result = "control-panel";
		}
		
		return result;
	}

	
	
}
